import request from '@/utils/request'

export function setRefund4Combined(query) {
  return request({
    url: '/com.mmk.reservation.api.AdminAllowanceProvider/1.0.0/setRefund4Combined.html',
    method: 'post',
    data: query
  })
}
// 查询补贴单列表
export function allowanceList(query) {
  return request({
    url: '/com.mmk.reservation.api.AdminAllowanceProvider/1.0.0/allowanceList.html',
    method: 'post',
    data: query
  })
}
// 详情
export function detailProject(query) {
  return request({
    url: '/com.mmk.reservation.api.AdminAllowanceProvider/1.0.0/detailProject.html',
    method: 'post',
    data: query
  })
}
// 详情(退款报单-新)
export function detailRefundProject(query) {
  return request({
    url: '/com.mmk.reservation.api.AdminAllowanceProvider/1.0.0/detailRefundProject.html',
    method: 'post',
    data: query
  })
}
// 分期
export function getRewardList(query) {
  return request({
    url: '/com.mmk.reservation.api.AdminAllowanceProvider/1.0.0/getRewardList.html',
    method: 'post',
    data: query
  })
}
// 初审详情
export function audit(query) {
  return request({
    url: '/com.mmk.reservation.api.AdminAllowanceProvider/1.0.0/audit.html',
    method: 'post',
    data: query
  })
}
// 初审动作
export function dealAudit(query) {
  return request({
    url: '/com.mmk.reservation.api.AdminAllowanceProvider/1.0.0/dealAudit.html',
    method: 'post',
    data: query
  })
}
// 复审详情
export function twoAudit(query) {
  return request({
    url: '/com.mmk.reservation.api.AdminAllowanceProvider/1.0.0/twoAudit.html',
    method: 'post',
    data: query
  })
}
// 复审动作
export function doTwoAudit(query) {
  return request({
    url: '/com.mmk.reservation.api.AdminAllowanceProvider/1.0.0/doTwoAudit.html',
    method: 'post',
    data: query
  })
}
// 复审刷新
export function flashAudit(query) {
  return request({
    url: 'com.mmk.reservation.api.AdminAllowanceProvider/1.0.0/flash.html',
    method: 'post',
    data: query
  })
}
// 退款展示
export function refund(query) {
  return request({
    url: '/com.mmk.reservation.api.AdminAllowanceProvider/1.0.0/refund.html',
    method: 'post',
    data: query
  })
}
// 退款页面计算
export function getRefund(query) {
  return request({
    url: '/com.mmk.reservation.api.AdminAllowanceProvider/1.0.0/getRefund.html',
    method: 'post',
    data: query
  })
}
// 退款动作
export function setRefund(query) {
  return request({
    url: '/com.mmk.reservation.api.AdminAllowanceProvider/1.0.0/setRefund.html',
    method: 'post',
    data: query
  })
}
// 根据医院ID查询下属所有医美项目
export function findAllProjectListOfHospital(query) {
  return request({
    url: '/com.mmk.reservation.api.AdminBeautyProjectProvider/1.0.0/findAllProjectListOfHospital.html',
    method: 'post',
    data: query
  })
}
// 编辑详情
export function editInfo(query) {
  return request({
    url: '/com.mmk.reservation.api.AdminAllowanceProvider/1.0.0/editInfo.html',
    method: 'post',
    data: query
  })
}
// 金融账户
export function getFinanceAccountUserList(query) {
  return request({
    url: '/com.mmk.member.api.AdminUserProvider/1.0.0/getFinanceAccountUserList.html',
    method: 'post',
    data: query
  })
}
// 金融账户开启或关闭
export function changeFinanceAccountNumberStatus(query) {
  return request({
    url: '/com.mmk.reservation.api.AdminAllowanceProvider/1.0.0/changeFinanceAccountNumberStatus.html',
    method: 'post',
    data: query
  })
}
// 项目类型
export function findAllCategoriesAsOneList(query) {
  return request({
    url: '/com.mmk.reservation.api.AdminBeautyCategoriesProvider/1.0.0/findAllCategoriesAsOneList.html',
    method: 'post',
    data: query
  })
}
// 项目类型(补贴单编辑项目类型下拉)
export function findAllCategories(query) {
  return request({
    url: '/com.mmk.reservation.api.AdminBeautyCategoriesProvider/1.0.0/findAllCategories.html',
    method: 'post',
    data: query
  })
}
// 编辑动作
export function doEditInfo(query) {
  return request({
    url: '/com.mmk.reservation.api.AdminAllowanceProvider/1.0.0/doEditInfo.html',
    method: 'post',
    data: query
  })
}
// 收到合同
export function contractType(query) {
  return request({
    url: '/com.mmk.reservation.api.AdminAllowanceProvider/1.0.0/contractType.html',
    method: 'post',
    data: query
  })
}
// 暂停
export function editStopStart(query) {
  return request({
    url: '/com.mmk.reservation.api.AdminAllowanceRefundProvider/1.0.0/editStopStart.html',
    method: 'post',
    data: query
  })
}
// 暂停(退款报单)
export function editStopStartNew(query) {
  return request({
    url: '/com.mmk.reservation.api.AdminAllowanceRefundProvider/1.0.0/editStopStartNew.html',
    method: 'post',
    data: query
  })
}

// 奖励修改详情
export function listUserRewards(query) {
  return request({
    url: '/com.mmk.reservation.api.AdminUserRewardTransProvider/1.0.0/listUserRewards.html',
    method: 'post',
    data: query
  })
}

// 奖励修改添加
export function updateUserRewardTrans(query) {
  return request({
    url: '/com.mmk.reservation.api.AdminUserRewardTransProvider/1.0.0/updateUserRewardTrans.html',
    method: 'post',
    data: query
  })
}

// 驳回动作
export function getReject(query) {
  return request({
    url: '/com.mmk.reservation.api.AdminAllowanceProvider/1.0.0/getReject.html',
    method: 'post',
    data: query
  })
}
